package com.sk.bilibili.apiMapper.component.methodHandler;


import com.sk.bilibili.apiMapper.bean.Args;
import com.sk.bilibili.apiMapper.constant.Method;
import com.sk.bilibili.apiMapper.interfaces.MethodHandler;
import okhttp3.Request;

/**
 * @author 邵康
 * @date 2021/7/10 21:24
 */
public class GetMethodHandler implements MethodHandler {

    @Override
    public String handleType() {
        return Method.GET;
    }

    @Override
    public Request.Builder handle(Request.Builder builder, Args args) {
        return builder.get();
    }

}
